<template>
  <div id="allmap"></div>
</template>

<script>
export default {
  mounted() {
    var map = new BMapGL.Map("allmap");
    map.centerAndZoom(new BMapGL.Point(116.28019, 40.049191), 19);
    map.enableScrollWheelZoom(true);
    map.setHeading(64.5);
    map.setTilt(73);
  },
};
</script>

<style type="text/css">
body,
html,
#allmap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
}
</style>
